package io.gitee.heis.vehicle.race.sample02;

public class Vehicle02 implements Vehicle {

  private Engine engine;

  @Override
  public int getPower() {
    return engine.getPower();
  }

  @Override
  public Engine getEngine() {
    return engine;
  }

  @Override
  public void setEngine(Engine engine) {
    this.engine = engine;
  }

}
